package com.bwie.service.impl;

import com.bwie.service.MyService;
import org.aspectj.lang.annotation.Aspect;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

/**
 * @Author: 鑫仔
 * @Date: 2025/7/22 08:00
 * @Description:
 **/
@Service
public class MyServiceImpl implements MyService {


    @Async
    @Override
    public void sendNotification(String message) {
        System.out.println("发送通知" + message);
        throw new RuntimeException("发送异常");
    }
}
